<div class="app-container with-navbar with-tabbar" ng-controller="ConfirmCardController">

    <div class="navbar fixed-top">
        <div class="navbar-left hide-weixin" ng-click="goBack()">
            <img class="button-icon" src="image/nav-left.png"/>

            <div class="button-text">返回</div>
        </div>
        <div class="navbar-title">
            确认订单
        </div>
        <div class="navbar-right">
        </div>
    </div>

    <!-- Address -->
    <div class="confirm-address" ng-click="touchAddress()">
        <div class="address-contact" ng-if="address">
            {{address.receiver_name}} {{address.mobile}}
        </div>
        <div class="address-detail" ng-if="address">
            {{address.province}}
            {{address.city}}
            {{address.district}}
            {{address.full_address}}
        </div>
        <div class="address-create danger" ng-if="!address">
            请填写地址
        </div>
        <img class="address-arrow" src="image/nav-right.png"/>
    </div>

    <!-- Form -->
    <div class="confirm-form">
        <div class="form-item">
            <div class="item-title">
                配送方式
            </div>
            <div class="item-value">
                自主配送
            </div>
            <img class="item-arrow" src="image/nav-right.png"/>
        </div>
        <div class="form-item">
            <div class="item-textarea">
                <textarea type="text" placeholder="买家留言" ng-model="input.comment"  ng-change="refreshComment()"></textarea>
            </div>
        </div>
    </div>

    <!-- Submit -->
    <div class="confirm-submit">
        <div class="submit-button dark" style="float: right;" ng-class="{active: canPurchase}" ng-click="touchSubmit()">
            提交
        </div>
    </div>

</div>

